import { MemberPageModel } from '../model/member';
import ProxyInterface from '../proxy-interface';

class MemberPageProxy implements ProxyInterface<MemberPageModel> {
  public memberListModel = new MemberPageModel();

  constructor (responseData) {
    let data = responseData || responseData;
    Object.assign<MemberPageModel, MemberPageModel>(this.memberListModel, data)
  }

  getModel (): MemberPageModel {
    return this.memberListModel;
  }
}

export {
  MemberPageProxy
};
